package cn.ycc1.account.mapper;

import cn.ycc1.account.entity.Account;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Title:
 * @Author ycc
 * @Date 2023/7/4 14:41
 */
@Mapper
public interface AccountMapper extends BaseMapper<Account> {

    void deduct(@Param("userId") String userId, @Param("money") Integer money);
}
